; sprites.inc
; Public definitions for sprites.asm

	NUM_SHAPES_2x2=9
	NUM_SHAPES_1x1=2

.IFDEF _IN_SPRITES

	; routines

	.export initspr
	.export calcspr
	
	; data
	.export spr2x2act
	.export spr2x2col
	.export spr2x2row
	.export spr2x2pix
	.export spr2x2piy
	.export spr2x2idx
	.export spr2x2clr
	.export spr2x2coll

	.export spr1x1act
	.export spr1x1col
	.export spr1x1row
	.export spr1x1pix
	.export spr1x1piy
	.export spr1x1clr
	.export spr1x1coll
	
.ELSE

	; routines

	.import initspr
	.import calcspr

	; data
	.import spr2x2act
	.import spr2x2col
	.import spr2x2row
	.import spr2x2pix
	.import spr2x2piy
	.import spr2x2idx
	.import spr2x2clr
	.import spr2x2coll

	.import spr1x1act
	.import spr1x1col
	.import spr1x1row
	.import spr1x1pix
	.import spr1x1piy
	.import spr1x1clr
	.import spr1x1coll

.ENDIF

	SHAPE_UPDN1 = 0
	SHAPE_UPDN2 = 1
	SHAPE_RIGHT1 = 2
	SHAPE_RIGHT2 = 3
	SHAPE_LEFT1 = 4
	SHAPE_LEFT2 = 5
	SHAPE_DYING1 = 6
	SHAPE_DYING2 = 7
	SHAPE_IDLE = 8
	SHAPE_FIRE = SHAPE_IDLE
